package com.ternnetwork.wechat.model.qy.message;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.ternnetwork.commons.utils.JsonUtils;

@JsonAutoDetect
public class TextRequestMessage extends BaseRequestMessage {
    
	private String msgtype="text";
	
	private TextRequestBody text;

	public String getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}

	public TextRequestBody getText() {
		return text;
	}

	public void setText(TextRequestBody text) {
		this.text = text;
	}
	
	
	public String toString() {
		return JsonUtils.objectToJson(this);
	}

}
